package com.ruoyi.bigscreen.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "tm_assets")
  @TableName("tm_assets")
@Data
public class TmAssets {


  @Id
  @TableField(value = "id")
  private String id;
  @TableField(value = "assets_Id")
  private String assetsId;
  @Field(type = FieldType.Text, analyzer = "ik_smart",store = false,index = true,searchAnalyzer = "ik_smart")
  @TableField(value = "assets_Name")
  private String assetsName;
  @TableField(value = "assets_category")
  private String assetsCategory;
  @TableField(value = "assets_status")
  private String assetsStatus;
  @Field(type = FieldType.Text, analyzer = "ik_smart",store = false,index = true,searchAnalyzer = "ik_smart")
  @TableField(value = "assets_descr")
  private String assetsDescr;
  @TableField(value = "update_time")
  private java.sql.Timestamp updateTime;
  @TableField(value = "assets_camp")
  private String assetsCamp;
  @TableField(value = "create_Time")
  private java.sql.Timestamp createTime;

}
